<template>
  <eui-base-card :title="itemsData.title" :titleLine="true">
    <eui-base-card v-for="(dataItem, index) in itemsData.datas" :title="dataItem.c_title" :key="index">
      <eui-detail-show :items="dataItems" v-model="itemsData.datas[index]"></eui-detail-show>
      <eui-line></eui-line>
    </eui-base-card>
  </eui-base-card>
</template>

<script setup lang="ts">
import { inject, ref } from 'vue';

const itemData = ref({
  title: '巡场项目',
  itemClass: [],
  datas: [],
});

const dataItems = ref([
  {
    label: "",
    prop: "c_options_show",
    type: "text",
    element: {
    },
  },
  {
    label: "",
    prop: "c_note",
    type: "text",
    element: {
    },
  },
])

const itemsData = inject('patrolWorkbenchItemsData', itemData);


</script>

<style lang="scss" scoped>
::v-deep .e-card{
  margin-bottom: 0;
}
::v-deep .e-card__content{
  margin-bottom: 0;
}
</style>